package org.squirrel.modules.bigscreen.service;


import org.squirrel.common.system.base.service.SquirrelService;
import org.squirrel.modules.bigscreen.dto.ReportExcelDto;
import org.squirrel.modules.bigscreen.entity.ReportExcel;

public interface ReportExcelService extends SquirrelService< ReportExcel> {

    /**
     * 根据报表编码查询详情
     *
     * @param reportCode
     * @return
     */
    ReportExcelDto detailByReportCode(String reportCode);

    /**
     * 报表预览
     *
     * @param reportExcelDto
     * @return
     */
    ReportExcelDto preview(ReportExcelDto reportExcelDto);


    /**
     * 导出为excel
     *
     * @param reportExcelDto
     * @return
     */
    Boolean exportExcel(ReportExcelDto reportExcelDto);

//    Boolean exportPdf(ReportExcelDto reportExcelDto);
}
